Lingxing
切换旧版

查询报关资料(旧)详情

POST/supplyShipmentBasic/openApi/customsDeclaration/detail

接口信息

API Path请求协议请求方式令牌桶容量
/supplyShipmentBasic/openApi/customsDeclaration/detailHTTPSPOST1

请求参数

orderSnstring必填
报关单号

请求cURL示例

curl --location 'https://openapi.lingxing.com/supplyShipmentBasic/openApi/customsDeclaration/detail?access_token=value&timestamp=value&sign=value&app_key=value' \
--header 'Content-Type: application/json' \
--data '{
    "orderSn": "BG202512230001"
}'

返回结果

Json Object

codeinteger必填
状态码,0表示成功
示例 0
dataobject
响应数据
隐藏子属性
billOfLadingNostring
提单号
boxItemsarray<object>
装箱单明细列表
隐藏子属性
boxNostring
箱号
boxUniqueKeystring
箱子唯一标识
cbmnumber
体积(CBM)
cdIdstring
报关单ID
cdbiIdstring
装箱明细ID(主键)
companyIdstring
公司ID
ctnsinteger
箱数
gwnumber
毛重(KG)
heightnumber
高度(CM)
lengthnumber
长度(CM)
nwnumber
净重(KG)
productListarray<object>
箱内商品列表
隐藏子属性
boxBrandTypestring
品类
boxModelstring
型号
brandstring
品牌
cdIdstring
报关单ID
cdbiIdstring
所属箱ID
cdbipIdstring
装箱商品ID(主键)
companyIdstring
公司ID
currencystring
币种
descriptionCnstring
商品名称
hsCodestring
HS编码
inlandsSourcestring
境内货源地
pcsinteger
数量
pricenumber
单价
productTempKeystring
商品临时标识
productUniqueKeystring
商品唯一标识
singleBoxPcsinteger
单箱数量
singleGwnumber
单毛重(KG)
singleNwnumber
单净重(KG)
unitstring
单位
widthnumber
宽度(CM)
businessSnsarray<any>
关联业务单号列表
businessTypestring
业务类型
cdIdstring
报关单ID(主键)
cdrIdstring
买方ID
cdsIdstring
卖方ID
clutterFeestring
杂费
commitmentStatementstring
承诺说明
contractDatestring
合同日期
contractDealMethodstring
合同成交方式
contractNostring
合同号
contractTemplateIdstring
合同模板ID
contractTermsstring
合同条款
createRealnamestring
创建人姓名
createTimestring
创建时间
createUidinteger
创建人ID
creditCodestring
统一社会信用代码
customNostring
海关编号
custom_fieldsobject
自定义字段
隐藏子属性
characterstring
字段特征
idstring
自定义字段ID
namestring
字段名称
valobject
字段值
val_textstring
字段文本值
deadlineDatestring
有效期截至期
deadlineDateRuleinteger
有效期截至期规则
dealMethodstring
成交方式
declarationChargeCurrencystring
报关收费币种
declarationChargeCurrencyIconstring
报关收费币种符号
declarationChargePricenumber
报关收费价格
declarationDatestring
申报日期
declarationPortstring
申报口岸
departurePortstring
离境口岸
downloadCountinteger
下载次数
entrustItemsarray<any>
委托事项,A、填单申报;B、辅助查验;C、垫缴税款;D、办理海关证明联;E、审批手册;F、核销手册;G、申办减免税手续;H、其他
entrustMethodsarray<any>
委托方式,A:逐票,B:长期
entrustTemplateIdstring
委托书模板ID
entrustedSidestring
被委托方
entrustedSideDeclarationOrderSnstring
被委托方报关单编号
exemptstring
征免性质
exitCustomsstring
出境关别
exportDatestring
出口日期
filesarray<object>
附件列表
隐藏子属性
fileIdinteger
附件ID
fileNamestring
附件名称
fileUrlstring
附件URL
importExportDatestring
进出口日期
importExportDateRuleinteger
进出口日期规则
importantElementTemplateIdstring
要素模板ID
invoiceDatestring
发票日期
invoiceDateRuleinteger
发票日期规则
invoiceNostring
发票号
invoiceTemplateIdstring
发票模板ID
isPriceInfluenceinteger
价格影响确认,0.未选, 1.是,2.否
isPriceInfluenceNamestring
价格影响确认名称
itemsarray<object>
报关单明细列表
隐藏子属性
aimCountrystring
目的国
billBrandstring
发票品牌
billCustomNostring
发票海关编码
billModelstring
发票型号
billModelTypestring
发票品类
billModelTypeIdinteger
发票品类Id
boxBrandstring
装箱单品牌
boxBrandTypestring
装箱单品牌类型
boxModelstring
装箱单型号
boxNostring
箱号
brandstring
品牌
brandTypestring
品牌类型
brandTypeIdinteger
品牌类型ID
cbmnumber
体积(CBM)
cdIdstring
报关单ID
cdiIdstring
明细ID(主键)
cgBoxWeightnumber
报关箱重
contractCurrencystring
合同币种
contractCurrencyIconstring
合同币种符号
contractPricenumber
合同单价
ctnsinteger
箱数
currencystring
币种
currencyIconstring
币种符号
custom_fieldsobject
自定义字段
隐藏子属性
characterstring
字段特征
idstring
自定义字段ID
namestring
字段名称
valobject
字段值
val_textstring
字段文本值
declarationElementUsagestring
用途
declareSpecstring
规格型号
descriptionCnstring
商品名称
detailarray<any>
明细信息
elementMaterialstring
申报要素材质
exemptstring
征免性质
gwnumber
毛重(KG)
heightnumber
高度(CM)
hsCodestring
HS编码
inlandsSourcestring
境内货源地
isCombointeger
是否组合商品
lawNumstring
法定单位的数量
lawUnitstring
法定单位
lengthnumber
长度(CM)
makeNostring
标记唛码
nwnumber
净重(KG)
originCountrystring
原产国
otherDeclarationElementsstring
他申报要素
pcsinteger
数量
preferentialstring
出口享受优惠
pricenumber
单价
productIdinteger
产品ID
productModelstring
产品型号
productTempKeystring
商品临时key
productUniqueKeystring
商品唯一key
purchaseOrderSnsstring
关联采购单号
quarantineCodestring
检疫附加码
singleGwnumber
单毛重(KG)
singleNwnumber
单净重(KG)
unitstring
单位
widthnumber
宽度(CM)
merchantNostring
商品编号
orderSnstring
报关单号
otherRequeststring
其他要求
packingListDatestring
装箱单日期
packingListRuleinteger
装箱单日期规则
packingListTemplateIdstring
装箱单模板ID
packingTypestring
包装种类
paymentTermsstring
付款方式
permitNostring
许可证号
preRecordedNostring
预录入编号
premiumFeestring
保费
printCountinteger
打印次数
receiveOrderDatestring
收到单证日期
receiveOrderDateRuleinteger
收到单证日期规则
receiveOrdersarray<any>
收到单证情况,1:合同,2:发票,3:装箱清单,4:提(运)单,5:加工贸易手册,6:许可证件,7:其他
receiverobject
买方信息
隐藏子属性
addressstring
地址
cdrIdstring
买方ID(主键)
companyNamestring
公司名称
contactNamestring
联系人
electronicSealPicturestring
电子章图片
emailstring
邮箱
faxstring
传真
isDefaultboolean
是否默认
mobilestring
联系方式
receiverCompanyNamestring
收货方公司名称
recordNumberstring
备案号
remarkstring
备注
ruleTypeinteger
规则类型
salesUnitstring
销售单位
selectedTabsstring
已选标签页
shipNamestring
船名
shipToCountrystring
最终目的国(地区)
shipToCountryIdsarray<any>
最终目的国ID列表
shipmentDatestring
装运日期
shipmentDateRuleinteger
装运日期规则
shipmentPortstring
指运港
shipperobject
卖方信息
隐藏子属性
addressstring
地址
cdsIdstring
卖方ID(主键)
companyNamestring
公司名称
contactNamestring
联系人
creditCodestring
统一社会信用代码
electronicSealPicturestring
电子章图片
emailstring
邮箱
faxstring
传真
isDefaultboolean
是否默认
mobilestring
联系方式
shipperCompanyNamestring
发货方公司名称
shippingMarksstring
唛头
signAddressstring
签署地点
signDatestring
签字日期
signDateRuleinteger
签字日期规则
specialRelationshipConfirmstring
特殊关系确认
superviseMethodstring
监管方式
templateIdstring
主模板ID
totalCtnsinteger
总箱数
totalGwnumber
总毛重(KG)
totalNwnumber
总净重(KG)
totalPcsinteger
总件数
tradeCountrystring
贸易国(地区)
transportModeinteger
运输方式
transportModeNamestring
运输方式名称
transportToolNumberstring
运输工具名称及航次号
updateRealnamestring
修改人姓名
updateTimestring
修改时间
updateUidinteger
修改人ID
usdFeestring
运费(USD)
error_detailsarray<any>
错误详情列表
示例 []
messagestring必填
提示信息
示例 success
request_idstring必填
请求链路ID
示例 DCF829F21054089C7501FBCF8BC614CA
response_timestring必填
响应时间
示例 2023-04-24 17:29:54
successboolean
totalinteger
数据总数
示例 3

返回成功示例

{
    "code": 0,
    "message": "success",
    "error_details": [],
    "request_id": "4683c92968ca47ccbff50f1ea8e4fb7a.165.17299260210002027",
    "response_time": "2024-10-26 15:00:21",
    "data": {
        "billOfLadingNo": "BL123456789",
        "boxItems": [
            {
                "boxNo": "BOX001",
                "boxUniqueKey": "BOX-KEY-001",
                "cbm": 0.5,
                "cdId": "CD-1001",
                "cdbiId": "CDBI-1001-001",
                "companyId": "COM123",
                "ctns": 1,
                "gw": 20.5,
                "height": 50.0,
                "length": 80.0,
                "nw": 18.0,
                "productList": [
                    {
                        "boxBrandType": "电子产品",
                        "boxModel": "X100",
                        "brand": "SONY",
                        "cdId": "CD-1001",
                        "cdbiId": "CDBI-1001-001",
                        "cdbipId": "CDBIP-1001-001-001",
                        "companyId": "COM123",
                        "currency": "USD",
                        "descriptionCn": "智能手机",
                        "hsCode": "8517122000",
                        "inlandsSource": "广东深圳",
                        "pcs": 100,
                        "price": 500.0,
                        "productTempKey": "PTK-001",
                        "productUniqueKey": "PUK-001",
                        "singleBoxPcs": 10,
                        "singleGw": 0.2,
                        "singleNw": 0.18,
                        "unit": "PCS"
                    },
                    {
                        "boxBrandType": "配件",
                        "boxModel": "CBL-001",
                        "brand": "SONY",
                        "cdId": "CD-1001",
                        "cdbiId": "CDBI-1001-001",
                        "cdbipId": "CDBIP-1001-001-002",
                        "companyId": "COM123",
                        "currency": "USD",
                        "descriptionCn": "USB数据线",
                        "hsCode": "8544421000",
                        "inlandsSource": "广东深圳",
                        "pcs": 500,
                        "price": 5.0,
                        "productTempKey": "PTK-002",
                        "productUniqueKey": "PUK-002",
                        "singleBoxPcs": 50,
                        "singleGw": 0.01,
                        "singleNw": 0.008,
                        "unit": "PCS"
                    }
                ],
                "width": 60.0
            },
            {
                "boxNo": "BOX002",
                "boxUniqueKey": "BOX-KEY-002",
                "cbm": 0.3,
                "cdId": "CD-1001",
                "cdbiId": "CDBI-1001-002",
                "companyId": "COM123",
                "ctns": 1,
                "gw": 15.0,
                "height": 40.0,
                "length": 70.0,
                "nw": 13.5,
                "productList": [
                    {
                        "boxBrandType": "电子产品",
                        "boxModel": "Y200",
                        "brand": "SAMSUNG",
                        "cdId": "CD-1001",
                        "cdbiId": "CDBI-1001-002",
                        "cdbipId": "CDBIP-1001-002-001",
                        "companyId": "COM123",
                        "currency": "USD",
                        "descriptionCn": "平板电脑",
                        "hsCode": "8471300000",
                        "inlandsSource": "江苏南京",
                        "pcs": 50,
                        "price": 300.0,
                        "productTempKey": "PTK-003",
                        "productUniqueKey": "PUK-003",
                        "singleBoxPcs": 5,
                        "singleGw": 0.3,
                        "singleNw": 0.28,
                        "unit": "PCS"
                    }
                ],
                "width": 50.0
            }
        ],
        "businessSns": [
            "PO2023001",
            "SO2023005"
        ],
        "businessType": 1,
        "cdId": "CD-1001",
        "cdrId": "BUYER-001",
        "cdsId": "SELLER-001",
        "clutterFee": "150.00",
        "commitmentStatement": "我司承诺所提供信息真实准确。",
        "contractDate": "2023-03-10 00:00:00",
        "contractDealMethod": "FOB",
        "contractNo": "CONTRACT-001",
        "contractTemplateId": "CT-001",
        "contractTerms": "详细条款见附件合同。",
        "createRealname": "王小明",
        "createTime": "2023-04-20 10:30:00",
        "createUid": 1001,
        "creditCode": "91440300XXXXXXXXXX",
        "customNo": "CUSTOMS-NO-2023001",
        "custom_fields": {
            "character": "text",
            "id": "CF-001",
            "name": "特殊要求",
            "val": "易碎品,请轻放",
            "val_text": "易碎品,请轻放"
        },
        "deadlineDate": "2023-12-31 00:00:00",
        "deadlineDateRule": 1,
        "dealMethod": "CIF",
        "declarationChargeCurrency": "CNY",
        "declarationChargeCurrencyIcon": "¥",
        "declarationChargePrice": 1000.0,
        "declarationDate": "2023-04-22 00:00:00",
        "declarationPort": "深圳海关",
        "departurePort": "蛇口港",
        "downloadCount": 5,
        "entrustItems": [
            "A",
            "B",
            "C"
        ],
        "entrustMethods": [
            "A"
        ],
        "entrustTemplateId": "ET-001",
        "entrustedSide": "中外运",
        "entrustedSideDeclarationOrderSn": "ZWY-DC-2023-001",
        "exempt": "无",
        "exitCustoms": "深圳",
        "exportDate": "2023-04-25 00:00:00",
        "files": [
            {
                "fileId": 2001,
                "fileName": "合同副本.pdf",
                "fileUrl": "https://example.com/files/contract.pdf"
            },
            {
                "fileId": 2002,
                "fileName": "发票.pdf",
                "fileUrl": "https://example.com/files/invoice.pdf"
            }
        ],
        "importExportDate": "2023-04-25 00:00:00",
        "importExportDateRule": 1,
        "importantElementTemplateId": "IET-001",
        "invoiceDate": "2023-03-15 00:00:00",
        "invoiceDateRule": 1,
        "invoiceNo": "INV-001",
        "invoiceTemplateId": "IT-001",
        "isPriceInfluence": 2,
        "isPriceInfluenceName": "否",
        "items": [
            {
                "aimCountry": "美国",
                "billBrand": "SONY",
                "billCustomNo": "BCN-001",
                "billModel": "X100",
                "billModelType": "智能手机",
                "billModelTypeId": 101,
                "boxBrand": "SONY",
                "boxBrandType": "电子产品",
                "boxModel": "X100",
                "boxNo": "BOX001",
                "brand": "SONY",
                "brandType": "电子产品",
                "brandTypeId": 10001,
                "cbm": 0.5,
                "cdId": "CD-1001",
                "cdiId": "CDI-1001-001",
                "cgBoxWeight": 20.5,
                "contractCurrency": "USD",
                "contractCurrencyIcon": "$",
                "contractPrice": 500.0,
                "ctns": 1,
                "currency": "USD",
                "currencyIcon": "$",
                "custom_fields": {
                    "character": "text",
                    "id": "CF-ITEM-001",
                    "name": "特殊描述",
                    "val": "防水防尘",
                    "val_text": "防水防尘"
                },
                "declarationElementUsage": "通讯",
                "declareSpec": "5G, 256GB",
                "descriptionCn": "智能手机",
                "detail": [],
                "elementMaterial": "塑料,玻璃",
                "exempt": "无",
                "gw": 20.5,
                "height": 50.0,
                "hsCode": "8517122000",
                "inlandsSource": "广东深圳",
                "isCombo": 0,
                "lawNum": "100",
                "lawUnit": "台",
                "length": 80.0,
                "makeNo": "ABCDEF",
                "nw": 18.0,
                "originCountry": "中国",
                "otherDeclarationElements": "电池容量",
                "pcs": 100,
                "preferential": "无",
                "price": 500.0,
                "productId": 3001,
                "productModel": "X100",
                "productTempKey": "PTK-001",
                "productUniqueKey": "PUK-001",
                "purchaseOrderSns": "PO2023001",
                "quarantineCode": "Q123",
                "singleGw": 0.2,
                "singleNw": 0.18,
                "unit": "PCS",
                "width": 60.0
            }
        ],
        "merchantNo": "MERCHANT-001",
        "orderSn": "BG-2023-001",
        "otherRequest": "加急办理",
        "packingListDate": "2023-03-20 00:00:00",
        "packingListRule": 1,
        "packingListTemplateId": "PLT-001",
        "packingType": "纸箱",
        "paymentTerms": "T/T 30 days",
        "permitNo": "PERMIT-001",
        "preRecordedNo": "PRN-2023-001",
        "premiumFee": "50.00",
        "printCount": 1,
        "receiveOrderDate": "2023-04-18 00:00:00",
        "receiveOrderDateRule": 1,
        "receiveOrders": [
            1,
            2,
            3
        ],
        "receiver": {
            "address": "123 Main St, Anytown, USA",
            "cdrId": "BUYER-001",
            "companyName": "ABC Inc.",
            "contactName": "John Doe",
            "electronicSealPicture": "http://example.com/buyer_seal.png",
            "email": "john.doe@abc.com",
            "fax": "123-456-7891",
            "isDefault": true,
            "mobile": "123-456-7890"
        },
        "receiverCompanyName": "ABC Inc.",
        "recordNumber": "REC-2023-001",
        "remark": "此批货物急需清关",
        "ruleType": 1,
        "salesUnit": "件",
        "selectedTabs": "报关信息,装箱信息",
        "shipName": "EVERGREEN LINE",
        "shipToCountry": "美国",
        "shipToCountryIds": [
            "US"
        ],
        "shipmentDate": "2023-04-24 00:00:00",
        "shipmentDateRule": 1,
        "shipmentPort": "洛杉矶港",
        "shipper": {
            "address": "456 Oak Ave, Shenzhen, China",
            "cdsId": "SELLER-001",
            "companyName": "XYZ Co., Ltd.",
            "contactName": "Jane Smith",
            "creditCode": "91440300XXXXXXXXXY",
            "electronicSealPicture": "http://example.com/seller_seal.png",
            "email": "jane.smith@xyz.com",
            "fax": "0755-12345679",
            "isDefault": true,
            "mobile": "0755-12345678"
        },
        "shipperCompanyName": "XYZ Co., Ltd.",
        "shippingMarks": "N/M",
        "signAddress": "深圳",
        "signDate": "2023-04-20 00:00:00",
        "signDateRule": 1,
        "specialRelationshipConfirm": "无",
        "superviseMethod": "一般贸易",
        "templateId": "MAIN-TPL-001",
        "totalCtns": 2,
        "totalGw": 35.5,
        "totalNw": 31.5,
        "totalPcs": 150,
        "tradeCountry": "中国",
        "transportMode": 10001,
        "transportModeName": "海运",
        "transportToolNumber": "MSC GULSUN V.230R",
        "updateRealname": "李华",
        "updateTime": "2023-04-24 16:00:00",
        "updateUid": 1002,
        "usdFee": "2000.00"
    },
    "total": 3
}